<!-- list -->
<ul class="nav" style="margin-top: 2px;">
  <li ui-sref-active="active">
        <a ui-sref="app.news({docId:'-1',userId:'-1'})">
			<i class="iconfont icon-xinwen icon-max "></i>
          <span class="font-bold" translate="aside.nav.news">news</span>
        </a>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.tasklist" ng-click="refreshTaskCount()" >
      <i class="fa fa-tasks "></i>
      <b class="badge bg-warning pull-right" ng-show="taskCount.statusall!=0"   >{{taskCount.statusall}}</b>
      <span class="font-bold" translate="aside.nav.tasks">tasks</span>
    </a>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.records">
      <i class="iconfont icon-danganliebiao icon-max "></i>
      <span class="font-bold" translate="aside.nav.records">records</span>
    </a>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.userlist({selectGroupId:-1})">
      <i class="icon-notebook "></i>
      <span class="font-bold" translate="aside.nav.mailList">mailList</span>
    </a>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.documentlist({folder:'-1'})">
      <i class="iconfont icon-yunyingpan icon-max "></i>
      <span class="font-bold" translate="aside.nav.documents">documents</span>
    </a>
  </li>


  <li ui-sref-active="active">
    <a ui-sref="app.processlist">
      <i class="fa  fa-th-list"></i>
      <span class="font-bold" translate="aside.nav.processRecords" >processRecords</span>
    </a>
  </li>
  <li ui-sref-active="active">
    <a ui-sref="app.processmodellist">
      <i class="fa  fa-sitemap icon "></i>
      <span class="font-bold" translate="aside.nav.processModel">processModel</span>
    </a>
  </li>
  <!--<li class="line dk"></li>
  <li ui-sref-active="active">
    <a ui-sref="app.email">
      <b class="badge bg-info pull-right">9</b>
      <i class="glyphicon glyphicon-envelope icon text-info-lter"></i>
      <span class="font-bold" translate="aside.nav.email">email</span>
    </a>
  </li>-->
  <li class="line dk hidden-folded"></li>
  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
    <span  translate="aside.nav.application"></span>
  </li>
  <li ng-repeat="application in applications" >
    <a href="" class="auto">
		  <span class="pull-right text-muted">
			<i class="fa fa-fw fa-angle-right text"></i>
			<i class="fa fa-fw fa-angle-down text-active"></i>
		  </span>
      <i ng-show="application.iconClass==null" class="glyphicon glyphicon-th-large icon "></i>
      <i ng-show="application.iconClass!=null" class="{{application.iconClass}}"></i>
      <span class="font-bold" >{{application.name}}</span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-repeat="nav in application.navs"  >
        <a href="#/app/page/{{nav.pageId}}"  >
          <span>{{nav.name}}</span>
        </a>
      </li>
    </ul>
  </li>
  <li class="line dk hidden-folded"></li>
  <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
    <span translate="aside.nav.yourStuff"></span>
  </li>
  <li >
    <a ng-click="refreshBookmarks()" class="auto">
		  <span class="pull-right text-muted">
			<i class="fa fa-fw fa-angle-right text"></i>
			<i class="fa fa-fw fa-angle-down text-active"></i>
		  </span>
      <i  class="fa fa-star text-warning icon "></i>
      <span class="font-bold"  translate="aside.nav.myCollection"  ></span>
    </a>
    <ul class="nav nav-sub dk">
      <li ng-repeat="getbookmark in getbookmarks"  >
        <a href="#/app/page/{{getbookmark.id}}"  >
          <span>{{getbookmark.name}}</span>
        </a>
      </li>
    </ul>
  </li>
  <li ui-sref-active="active" >
    <a ui-sref="app.userprofile({user:userInfo.userName})" >
      <i class="icon-user icon "></i>

      <span translate="aside.nav.Profile" class="font-bold" >Profile</span>
    </a>
  </li>




</ul>
<!-- / list -->